package com.xydc.model;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

import org.hibernate.annotations.GenericGenerator;

/**
 * Orderlist entity.
 * 
 * @author MyEclipse Persistence Tools
 */
@Entity
public class Orderlist implements java.io.Serializable {

	// Fields

	private String id;
	private String menuId;
	private Long nowday;
	private String userId;
	private Long sl;

	// Constructors

	/** default constructor */
	public Orderlist() {
	}

	/** full constructor */
	public Orderlist(String menuId, Long nowday, String userId, Long sl) {
		this.menuId = menuId;
		this.nowday = nowday;
		this.userId = userId;
		this.sl = sl;
	}

	// Property accessors
	@Id
	@GeneratedValue(generator="userinfo_id")
	@GenericGenerator(name="userinfo_id",strategy="uuid")
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getMenuId() {
		return this.menuId;
	}

	public void setMenuId(String menuId) {
		this.menuId = menuId;
	}

	public Long getNowday() {
		return this.nowday;
	}

	public void setNowday(Long nowday) {
		this.nowday = nowday;
	}

	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public Long getSl() {
		return this.sl;
	}

	public void setSl(Long sl) {
		this.sl = sl;
	}

}